home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / comm / misc / Sashi89.lha / Sashi89 / sources / timer.h < prev   
C/C++ Source or Header  |  2001-05-05  |  452b  |  26 lines

  1. #include <exec/types.h>
  2. #include <exec/io.h>
  3. #include <exec/memory.h>
  4. #include <devices/timer.h>
  5.  
  6. #include <proto/exec.h>
  7. #include <proto/alib.h>
  8. #include <proto/dos.h>
  9.  
  10.  
  11. typedef struct
  12. {
  13.   char created;
  14.  
  15.   struct timerequest *TimerIO;
  16.   struct timeval tv;
  17.   struct MsgPort *timerport;
  18. } Timer_Info;
  19.  
  20.  
  21. inline  void  timer_delay(Timer_Info *ti,ULONG microsecs);
  22.         int   timer_create( Timer_Info *ti);
  23.         void  timer_delete(Timer_Info *ti);
  24.  
  25.  
  26.